package com.xtkj.superclub_shop.service;

import com.xtkj.superclub_entity.entity.shop.Address;
import com.xtkj.superclub_entity.entity.shop.Order;
import com.xtkj.superclub_entity.entity.shop.ProItem;
import com.xtkj.superclub_entity.entity.user.User;

import java.util.List;

/**
 * @author lizheqi
 * @create 2019-12-28-11:58
 */
public interface ICartService {

    void addProToCart(ProItem proItem);

    List<ProItem> shopCartListInfo(String userId);

    void deleteShopCartCommodity(ProItem proItem);

    void cleanShopCartList(String userId);

    void checkoutShopCart(User user, Address address);

    void pay(String userId, Order order);
}
